<form id="enroll-form" class="form-horizontal" role="form" data-toggle="validator" method="post" action="{:url('lesson/enrollcheck')}">


    <input type="hidden" name="enroll_way" value="1" /> 
     <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">姓名:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-title" class="form-control" name="name" type="text">
        </div>
    </div>
     <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">电话:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-title" class="form-control" name="mobile" type="text">
        </div>
    </div>

     <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">公司:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-title" class="form-control" name="company_name" type="text">
        </div>
    </div>
    

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">职位:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-title" class="form-control" name="position" type="text">
        </div>
    </div>
    

     <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">公司地址:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-title" class="form-control" name="company_address" type="text">
        </div>
    </div>

     <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
        
            <input type="radio" name="type"  value="0" checked/>个人用户
            <input type="radio" name="type" value="1"/>企业用户
            <input type="radio" name="type"  value="2">hr
            
        </div>
    </div>



    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('公司/HR')}:</label>
        <div class="col-xs-12 col-sm-8">

            <div class="form-inline" data-toggle="cxselect" data-selects="first,second">
                <select class="first form-control" name="row[company_id]" data-url="lesson/company"></select>
                <select class="second form-control" name="row[hr_user_id]" data-url="lesson/companyhr" data-query-name="pid"></select>
            </div>
        </div>
    </div>




    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">账号:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-title" class="form-control" name="username" type="text">
        </div>
    </div>



    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">密码:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-title" class="form-control" name="password" type="text">
        </div>
    </div>






    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed">提交</button>
            <button type="reset" class="btn btn-default btn-embossed">重置</button>
        </div>
    </div>
    
</form>
